<?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE html>
<html>

	<head>
		<meta charset="utf-8">
		<meta name="viewport" content="width=device-width, initial-scale=1">
		<title>素材管理-公众平台管理</title>
<link rel="stylesheet" type="text/css" href="__PUBLIC__/css/bootstrap.css" />
<link rel="stylesheet" type="text/css" href="__PUBLIC__/css/bootstrap-theme.min.css" />
<link rel="stylesheet" type="text/css" href="__PUBLIC__/css/app.v2.css" />
<link rel="stylesheet" type="text/css" href="__PUBLIC__/css/font-awesome.min.css" />
<link rel="stylesheet" type="text/css" href="__PUBLIC__/css/jquery-ui.css" />
<link rel="stylesheet" type="text/css" href="__PUBLIC__/css/metro.css" />
<link rel="stylesheet" type="text/css" href="__PUBLIC__/css/tiles.css" />
<link rel="stylesheet" type="text/css" href="__PUBLIC__/css/common.css" />
<link rel="stylesheet" type="text/css" href="__PUBLIC__/css/iphone-checkbox.css">
<script type="text/javascript" src="__PUBLIC__/js/jquery.js"></script>
<script type="text/javascript" src="__PUBLIC__/js/jquery-ui.js"></script>
<SCRIPT type="text/javascript" src="__PUBLIC__/js/iphone-style-checkbox.js"></SCRIPT>
<script src="__PUBLIC__/js/jquery.freetile.min.js"></script>
<script type="text/javascript" src="__PUBLIC__/js/ckeditor/ckeditor.js"></script>
<script type="text/javascript" src="__PUBLIC__/js/common.js"></script>
<!--[if lt IE 9]>
	<script type="text/javascript" src="__PUBLIC__/js/respond.min.js"></script>
	<script type="text/javascript" src="__PUBLIC__/js/html5shiv.js"></script>
    <script src="http://css3-mediaqueries-js.googlecode.com/svn/trunk/css3-mediaqueries.js"></script>
<![endif]-->


		<link rel="stylesheet" type="text/css" href="__PUBLIC__/css/media.css"> 
		<script type="text/javascript" src="__PUBLIC__/js/ajaxfileupload.js"></script>
		<script type="text/javascript" src="__PUBLIC__/js/jquery.form.js"></script>
		<script type="text/javascript" src="__PUBLIC__/js/custom/material.js"></script>
		<script type="text/javascript" src="__PUBLIC__/js/jquery-validate.min.js"></script>
		<link type="text/css" href="__PUBLIC__/css/contact.css" rel="stylesheet" />
<link type="text/css" href="__PUBLIC__/css/ftp.css" rel="stylesheet" />
<link type="text/css" href="__PUBLIC__/css/explorer.css" rel="stylesheet" />
<link rel="stylesheet" type="text/css" href="__PUBLIC__/js/uploadify/uploadify.css" />
<script type="text/javascript"	src="__PUBLIC__/js/uploadify/jquery.uploadify.min.js"></script>
	
	
		<script type="text/javascript">
			$(function(){
				$('#aside_nav ul li a').click(function(){
		 			var url=$(this).attr('url');
		 			if(url){
		 				showLoading('加载中...','__PUBLIC__/img/loading1.gif');
			 			$.get(url,function(html){
			 				$("#main_content").html(html);
			 				hideLoading();
			 			});
			 			$('#aside_nav ul li a.active').removeClass('active');
			 			$(this).addClass('active');
		 			}else{
		 				var subs=$(this).parent().find('.sub');
		 				if(subs.size()>0){
		 					var sub=$(subs.get(0));
		 					if(sub.css('display')=='none'){
		 						sub.toggle("blind");
		 						$(this).find('.right').removeClass("fa-angle-right").addClass("fa-angle-down");
		 					}else{
		 						sub.toggle("blind");
		 						$(this).find('.right').removeClass("fa-angle-down").addClass("fa-angle-right");
		 					}
		 				}
		 				
		 			}
		 		});
				$('#aside_nav ul li a').get(0).click();	
			});
		</script>
	</head>
	<body>
		<!-- 头部 -->
		
<div id="header" class="header">
	<div class="logo_area" style="display: none;">
		<div class="wrapper">
			<img alt="微信公众平台" src="__PUBLIC__/img/autoreply/logo15def7.png">
			<div class="hd_login_info" style="margin-right: 10px;">
				<div style="display: inline-block;vertical-align: middle;">
					<a style="padding-right: 0;" href="#">你好，${customer.name}</a>
					<div > 
						<a href="../manager/setting.json">设置</a> <a
						href="../login/logout.json">退出</a>
					</div>
				</div>
				<img src="__PUBLIC__/img/default.png" width="40px;" style="vertical-align: middle;">
			</div>
		</div>
	</div>
	<div class="navigator">
	<div class='logopane' >
		<img style=";margin-left: 10px;position: absolute;top: 5px;" width="40px" src='__PUBLIC__/img/oper_weixin.png'/>
		<span style="font-size:24px;color:#fff;left:50px;position: absolute;top: 5px;">公众平台接入管理</span>
	</div>
	<ul class="textLarge">
	<?php if(is_array($menuList)): $i = 0; $__LIST__ = $menuList;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$m): $mod = ($i % 2 );++$i;?><li>
			<a href='<?php echo U("m.menu/index");?>'><i class="fa fa-home"></i><?php echo ($m["title"]); ?></a>
		</li><?php endforeach; endif; else: echo "" ;endif; ?>
		<li>
			<a href='<?php echo U("Manage/index");?>'><i class="fa fa-home"></i>首页</a>
		</li>
		<li>
			<a href='<?php echo U("Rbac/index");?>'><i class="fa fa-cogs"></i>系统管理</a>
		</li>
		<li>
			<a href='<?php echo U("Message/material");?>'><i class="fa fa-picture-o"></i>素材管理</a>
		</li>
		<li>
			<a href='<?php echo U("Reply/index");?>'><i	class="fa fa-comments-o"></i>消息回复</a>
		</li>
		<li>
			<a href='<?php echo U("WxMenu/index");?>'><i class="fa fa-list-ul"></i>自定义菜单</a>
		</li>
		<li>
			<a href='/sms/index.json' target="_blank"><i
				class="fa fa-comment"></i>实时消息</a>
		</li>
	</ul>
	<ul class="textLarge" style="float: right;;">
		<li style="width: 50px;border-left: 1px solid rgba(0,0,0,0.2);font-size: 16px;">
			<a href='/manager/setting.json'><i	class="fa fa-cog"></i></a>
		</li>
		<li  style="width: 50px;border-left: 1px solid rgba(0,0,0,0.2);font-size: 16px;">
			<a href='<?php echo U("Index/logout");?>'><i	class="fa fa-power-off"></i></a>
		</li>
	</ul>
</div>
</div> 
		<div class="slimScrollDiv"
			style="position: fixed; overflow: hidden; width: 250px; top: 45px; height: 100%">
			<aside id="left_panel" style="overflow: hidden; width: 100%; height: 100%;">
			<nav id="aside_nav">
			<ul class='tab' style="display: block;border: none">
				<li>
					<a url="<?php echo U('Message/textmessages');?>">图文消息<i class="fa fa-angle-right right"></i> </a>
				</li>
				<li >
					<a url="../ftp/index.json">文件管理<i class="fa fa-angle-right right"></i> </a>
				</li>
			</ul>
			</nav>
			</aside>
		</div>
		<section id="main_content" style='bottom:0px;postion:relative;overflow-y: auto;'>
		</section>
		<!-- 底部 -->
		<div id="footer" class="footer"></div>
	</body>
</html>